package com.proxy.cglib;

import net.sf.cglib.util.ParallelSorter;

public class ParallelSorterDemo {

	//能够对多个数组同时进行排序，目前实现的算法有归并排序和快速排序
	public static void main(String[] args) {
		Integer[][] value = {
	            {4, 3, 9, 0},
	            {2, 1, 6, 0}
	    };
	    ParallelSorter.create(value).mergeSort(0);
	    for(Integer[] row : value){
	        int former = -1;
	        for(int val : row){
	            System.out.println(val);
	        }
	    }
	}

}
